<!DOCTYPE html>
<html lang="zh-Hans">

<head>
  <meta charset="utf-8">
  <title>图片查看器</title>
  <link rel="stylesheet" href="css/viewer.min.css">
  <style>
    * {
      margin: 0;
      padding: 0;
    }

    html,
    body {
      width: 100%;
      height: 100%;
    }

    #imageContainer {
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    #imageContainer img {
      width: 100px;
      height: 100px;
      margin: 0 10px;
    }
  </style>
</head>

<body>
  <div id="imageContainer">
    <img src="images/tibet-1.jpg" alt="图片1" />
    <img src="images/tibet-2.jpg" alt="图片2" />
    <img src="images/tibet-3.jpg" alt="图片3" />
    <img src="images/tibet-4.jpg" alt="图片4" />
    <img src="images/tibet-5.jpg" alt="图片5" />
    <img src="images/tibet-6.jpg" alt="图片6" />
  </div>
  <script src="js/viewer.min.js"></script>
  <script>
    var viewer = new Viewer(document.getElementById('imageContainer'), {
      url: 'src'
    });
    console.info(viewer)
  </script>
</body>
</html>